<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
<head>
<link rel="stylesheet" href="<%=path%>/css/pc/forum2.css">
<link rel="stylesheet"
	href="<%=path%>/js/kindeditor-4.1.10/themes/default/default.css" />
<link rel="stylesheet"
	href="<%=path%>/js/kindeditor-4.1.10/plugins/code/prettify.css" />
<link rel="stylesheet" href="<%=path%>/css/pc/bbs.css">
<script type="text/javascript" src="<%=path%>/js/pc/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=path%>/js/pc/nav.js"></script>
<script charset="utf-8"
	src="<%=path%>/js/kindeditor-4.1.10/kindeditor.js"></script>
<script charset="utf-8"
	src="<%=path%>/js/kindeditor-4.1.10/lang/zh_CN.js"></script>
<script charset="utf-8"
	src="<%=path%>/js/kindeditor-4.1.10/plugins/code/prettify.js"></script>
<title>论坛学人管理</title>
</head>

<body>
	 <!--     头部公共部分   -->
      	<%@include file="../partpage/hander.jsp"%>
      <!--
        	作者：offline
        	时间：2016-12-27
        	描述：bbs内容
        -->
        <div class="bbs_wtf">
        	<div class="bbs_div1_wtf">
		    	<div class="bbs_div1">
					<a href="<%=path%>/newsctr/forum.htm">首页</a> >
					<a href="<%=request.getContextPath()%>/bbseplctr/pcbbslist.htm">论坛学人</a>
				</div>
    		</div>
    		<!--学人介绍-->
        	<div class="forum_div1">
        		<div class="forum_div1_div1">
        			<img class="forum_div1_div1_img1" src="/upload/images/bbs/${bbs1.bbsImg}" />
        			<div class="forum_div1_div1_div1">${bbs1.bbsName}</div>
        		</div>
        		<div class="forum_div1_div2">
        			<div class="forum_div1_div2_div1">
        				<div class="forum_div1_div2_div1_div1">学人简介 - ${bbs1.bbsName}</div>
        				 <a href="javascript: back()" class="forum_div1_div2_div1_a1">返回 >></a> 
        			</div>
        			<div class="forum_div1_div2_div2">
        				发布时间：<fmt:formatDate value="${bbs1.bbsPublishTime}"
								pattern="yyyy-MM-dd HH:mm:ss" />
        			</div>
        			<div class="forum_div1_div2_div3">${bbs1.bbsIntroduce}</div>
        			<div class="forum_div1_div2_div4">
        			<c:if test="${bbs2.size()>0}">
        				上一篇：<a href="javascript: toother('${bbs2.get(0).bbsId}')">学人简介 - ${bbs2.get(0).bbsName}</a>
        				</c:if>
        			</div>
        			<div class="forum_div1_div2_div5">
        			<c:if test="${bbs3.size()>0}">
        				下一篇：<a href="javascript: toother('${bbs3.get(0).bbsId}')">学人简介 - ${bbs3.get(0).bbsName}</a>
        			</c:if>
        			</div>
        		</div>
        		<div class="clearboth"></div>
        	</div>
        		<form action="" id="sform" method="post">
					<input type="hidden" id="pageIndex" name="pageIndex"
						value="${bbs.pageInfo.pageIndex}" /> <input type="hidden"
						id="pageSize" name="pageSize" value="${bbs.pageInfo.pageSize}" />
						<input type="hidden" name="bbsId" id="bbsId" value="0"/>
				</form>
        </div>
      	<!--     底部公共部分   -->
      	<%@include file="../partpage/bottom.jsp"%>
</body>
<script type="text/javascript">
//上下篇
function toother(id){
	
	//$("#bbsId").val(id);
	//$("#sform").attr("action", "pcbbs.htm");
	//$("#sform").submit();
	window.location.href="<%=path%>/bbseplctr/pcbbs.htm?bbsId="+id;
}
//返回事件
function back(){
	//$("#sform").attr("action", "pcbbslist.htm");
	//$("#sform").submit();
	window.location.href="<%=path%>/bbseplctr/pcbbslist.htm";
}
 
</script>
</html>

